GBML manual / Constants

SHAPE_45_FLOOR_UP_RIGHT

A 45 degree slope: floor rising to the right.

Syntax

SHAPE_45_FLOOR_UP_RIGHT: constant

Description

A 45 degree slope: floor rising to the right. It is the number 1. It fills one square. The Slopes page shows how the shapes join.

.......#
......##
.....###
....####
...#####
..######
.#######
########

In the picture, the characters # are solid pixels and the dots are open ones.

Example

tile_set_shape(x, y + 8, SHAPE_45_FLOOR_UP_RIGHT);

Gives the square just under the walker this slope.

See also: tile_shapetile_set_shapeSlopes